package com.wx.fresh.business.vo.productVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * 添加商品信息
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "添加商品", description = "spu商品表（xwrs_spu）")
public class ProductVo {
    @ApiModelProperty(value = "商家Id", example = "06")
    private Long businessId;
    @ApiModelProperty(value = "门店Id", example = "06")
    private Long storeId;
    @ApiModelProperty(value = "类目")
    private List<CategoryIdVo> categoryId;
    @ApiModelProperty(value = "产品名称", example = "土鸡蛋")
    private String name;
    @ApiModelProperty(value = "商品详情", example = "居家良品")
    private String details;
    @ApiModelProperty(value = "产地", example = "四川成都")
    private String originPlace;
    @ApiModelProperty(value = "图片", example = "***//***//*****//")
    private String picture;
    @ApiModelProperty(value = "标签", example = "新品")
    private List<LabelVo> label;
    @ApiModelProperty(value = "品牌", example = "德克士")
    private String brand;
    @ApiModelProperty(value = "是否封面显示")
    private int isFirst;

    @ApiModelProperty(value = "库存量", example = "23")
    private Long stock;
    @ApiModelProperty(value = "价格", example = "12,2")
    private BigDecimal price;
    @ApiModelProperty(value = "创建时间", example = "2022-12-02")
    private String creationTime;


}
